package com.example.mapstuct.pojo.vo;

import com.example.mapstuct.enums.SexEnum;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author Lisicheng
 */
@Data
public class AddSexUserVO {

    /**
     * 用户ID
     */
    private Long id;

    /**
     * 用户名称
     */
    private String name;

    /**
     * 用户年龄
     */
    private Integer age;

    /**
     * 手机号码
     */
    private String mobile;

    /**
     * 注册时间
     */
    private LocalDateTime registrationTime;

    /**
     * 用户性别
     */
    private SexEnum sex;

    public SexEnum getSex() {
        return sex;
    }

    public AddSexUserVO setSex(SexEnum sex) {
        this.sex = sex;
        return this;
    }

    public Long getId() {
        return id;
    }

    public AddSexUserVO setId(Long id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public AddSexUserVO setName(String name) {
        this.name = name;
        return this;
    }

    public Integer getAge() {
        return age;
    }

    public AddSexUserVO setAge(Integer age) {
        this.age = age;
        return this;
    }

    public String getMobile() {
        return mobile;
    }

    public AddSexUserVO setMobile(String mobile) {
        this.mobile = mobile;
        return this;
    }

    public LocalDateTime getRegistrationTime() {
        return registrationTime;
    }

    public AddSexUserVO setRegistrationTime(LocalDateTime registrationTime) {
        this.registrationTime = registrationTime;
        return this;
    }
}
